package student

import "fmt"

type Student struct {
	Id   int
	Name string
	Age  int
	Home string
}

func New(id int, name string, age int, home string) Student {
	stu := Student{Id: id, Name: name, Age: age, Home: name}
	return stu
}

func (stu Student) Study() {
	fmt.Println(stu.Name + " is do study")
}
